﻿<UserControl
    x:Class="ColorWheel.Silverlight.BriSat.Demo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:cwc="clr-namespace:ColorWheel.Controls;assembly=ColorWheel.Controls"
    xmlns:global="clr-namespace:ColorWheel.Core;assembly=ColorWheel.Core"
    xmlns:sdk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">

    <UserControl.Resources>
        <ResourceDictionary>

            <global:ColorToBrush
                x:Key="ColorToBrush" />

        </ResourceDictionary>
    </UserControl.Resources>

    <Grid
        Background="Gray">

        <cwc:BrightnessSaturationControl
            Palette="{Binding Palette, Mode=OneWay}"
            VerticalAlignment="Stretch"
            HorizontalAlignment="Stretch">

        </cwc:BrightnessSaturationControl>

    </Grid>
    
</UserControl>
